Call backend show() in gdk_window_show even if window is mapped
authorAlexander Larsson <alexl@redhat.com>
Thu, 5 Feb 2009 13:53:59 +0000 (14:53 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:16:27 +0000 (10:16 +0200)
This is required for the GtkSocket code, as it shows the plug child
even though the current cached state is (wrongly) that its already
mapped.

This makes blink work for non-local case in testsocket.

gdk/gdkwindow.c

index e67f9557b9d5bb9a9cbc4a40e37b486a3c00c669..a6e26967be3ac324ab0f91f4adbd8c652976d589 100644 (file)
@@ -5497,7 +5497,7 @@ gdk_window_show_internal (GdkWindow *window, gboolean raise)
       private->state = 0;
     }
 
-  if (!was_mapped && gdk_window_is_viewable (window))
+  if (gdk_window_is_viewable (window))
     show_all_visible_impls (private);
   
   if (!was_mapped)